.template-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  align-content: center;
}

.template-list .card {
  width: 80%;
  max-width: 400px;
}

.template-list .card h2 {
  padding: 8px;

  font-size: 1.1em;
}

.template-list .card .middle {
  padding: 8px;

  display: flex;
  flex-direction: column;
}

.template-list .card .middle span {
  margin: 0.2em 0;
}

.template-list .card .middle span input {
  max-width: 5em;
}

.template-list .card .middle span input:nth-child(2) {
  margin: 0 0 0 0.5em;
}

.template-list .card .middle span button {
  padding: 4px 8px;
  border-radius: 8px;
}